async function getXiaoLi() {
	var [err, res] = await uni.request({
		url: 'http://211.82.48.36/indexCalendar',
		header: {
			'Content-Type': 'application/x-www-form-urlencoded'
		},
	});

	if (res.data.indexOf("登录") != -1) return null

	if (err) return null

	console.log(res)

	let content = res.data

	console.log(content)

	let xqm = content.split('xqm = "')[1].split('"')[0]
	let currentTime = content.split('xnxq = "')[1].split('"')[0] + "学年(" + xqm + ")"
	let kxrq = content.split('var rq = "')[1].split('"')[0]
	let skzs = content.split('var skzc = "')[1].split('"')[0]
	
	return {
		currentTime,
		kxrq,
		skzs
	}
}


export {
	getXiaoLi
}
